const BaseUrl = 'http://129.211.169.131:6368'

export const request = (url,method,data={})=>{
	return  new Promise((resolve,reject)=>{
		uni.request({
			url:BaseUrl+url,
			method,
			data,
			success(res) {
				resolve(res.data)	
			},
			fail(err) {
				reject(err)
			}
		})
	})
}